<template>
	<view class="setting">
		<view class="contentBox">
			<view class="content-txt" @click="gochangeInfo">
				<text class="txt">个人资料修改</text>
				<image class="img" src="../../static/img/youjt.png" mode=""></image>
			</view>
			<view class="content-txt" @click="eidpassword">
				<text class="txt">密码修改</text>
				<image class="img" src="../../static/img/youjt.png" mode=""></image>
			</view>
			<view class="content-txt" @click="toThirdZh">
				<text class="txt">管理第三方账号</text>
				<image class="img" src="../../static/img/youjt.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			gochangeInfo() {
				uni.navigateTo({
					url: '/pages/setting/component/changeInfo'
				})
			},
			toThirdZh() {
				uni.navigateTo({
					url: "/pages/setting/component/thirdZhao"
				})
			},
			eidpassword() {
				uni.navigateTo({
					url: "/pages/setting/component/eidtPassword"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.setting {
		width: 100%;
		height: 100vh;
		padding: 20rpx;
		background-color: #ffe1c2;

		.contentBox {
			display: flex;
			flex-direction: column;
			width: 100%;
			height: 200px;
			padding: 20rpx;
			background-color: #fff0df;
			border-radius: 20rpx;
			box-shadow: 1rpx 5rpx 5rpx rgba(0, 0, 0, .2);

			.content-txt {
				display: flex;
				width: 100%;
				height: 100rpx;
				justify-content: space-between;
				align-items: center;
				margin-bottom: 10rpx;
				border-bottom: 1rpx solid #e3e3e3;

				.img {
					width: 50rpx;
					height: 50rpx;
				}

				.txt {
					font-size: 26rpx;
					color: #333;
					line-height: 50rpx;
				}
			}
		}
	}
</style>